<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:f="http://xmlns.jcp.org/jsf/core">
    
    <f:view>
        <h:head>
        </h:head>
        
        <h:body>
            <ui:composition template="templates/mainPageLayout.xhtml">
            Registration
             <ui:define name="activebody"  >
                 <div class="search" align="center" >
                     <h:form>
                        <br/>
                        Registration Page
                        <br/><br/>
                        User ID: <h:inputText class="textInput" id="txtID" required="true"
                                              value="#{userbean.id}" />
                        <br/>
                        E-mail: <h:inputText class="textInput" id="txtEmail" required="true"
                                             value="#{userbean.email}"/>
                        <br/>
                        Password:<h:inputSecret class="textInput" id="txtPass" required="true"
                                                value="#{userbean.pass}"/>
                        <br/>
                        <h:commandButton class="vote" action="#{userbean.register()}" value="Submit"/>
                        <br/><br/>
                        <a href="index9.xhtml">Index9</a>
                    </h:form>
                </div>
             </ui:define>
            </ui:composition>
        </h:body>
    </f:view>
</html>